from pydantic import BaseModel


class BasicAuthBody(BaseModel):
    user: str
    pwd: str


class StartListBody(BasicAuthBody):
    list_segment: str
    force: bool = False


class StartDetailBody(BasicAuthBody):
    detail_segment: str
    force: bool = False


class StartCookieBody(BaseModel):
    cookie: str
    list_segment: str


class GetPresignedUrlBody(BaseModel):
    object_name: str
